home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 42 / Amiga Format AFCD42 (Issue 126, Aug 1999).iso / -serious- / sound / rescale / rescale.readme < prev    next >
Text File  |  1999-05-25  |  7KB  |  151 lines

  1. Short:    Anti-alias resampling for RAW 8SVX sound v1.11
  2. Uploader: Björn Östberg <JetRacer@Hem.Passagen.se>
  3. Author:   Björn Östberg <JetRacer@Hem.Passagen.se>
  4. Type:     mus/edit
  5. Version: 1.11
  6.  
  7. Rescale Version 1.11   Copyright ©1999 Björn Ösberg
  8.  
  9. Usage: Rescale <SourceFile> <DestFile> SourceRate DestRate ReplayRate
  10.  
  11.    Or: Rescale <SourceFile> <DestFile> SourceRate DestRate SourceRate
  12.  
  13.        Programming: Björn Östberg (JetRacer@Hem.Passagen.se)
  14. Additional Code By: Fredrik Rambris (Fredrik.Rambris@Amiga.nu)
  15.  
  16.           HomePage: www.Amiga.nu
  17.  
  18. Rescale v1.11 68020 and 68020/68882 versions are included in this archive.
  19.  
  20. ---------------------------------------------------------------------------
  21. Disclaimer: The programmer can't be held responsible for any damages caused
  22. by this program - use it at your own risc!
  23.  
  24. No distribution fee whatsoever can be charged for the archive nor it's
  25. contense (Aminet have exclusive right to distribute this archive and charge
  26. whatever fee they seem suitable). The archive must be distributed in it's
  27. original shape without any modifications.
  28. ---------------------------------------------------------------------------
  29.  
  30. Rescale is a resample utility (SHELL only) which resamples standard 8SVX raw
  31. sounds. The resample method used in the Rescale utility is vector based
  32. scaling -similar to the one used in sizeable fonts but with antialias
  33. features.
  34.  
  35. Running Rescale without any statements or faulty syntax will make it type
  36. out some instructions aswell as copyright and version info. There are no
  37. restrictions when it comes to setting the samplerate so be carefull. A
  38. nice side-effect of the previus is that you can specify the relation between
  39. source/dest in any way you like:
  40.  
  41. Downsample relative 1:2 with 44.1KHz with replay rate
  42. Rescale <SourceFile> <DestFile> 1 2 44100
  43.  
  44. Downsample period 127 to period 254 -no replay rate
  45. Rescale <SourceFile> <DestFile> 127 254 127
  46.  
  47. Etc.
  48.  
  49. Rescale can actually be used to rescale any signed 8-bit raw datafile at
  50. all. -Usefull for programmers who wants to rescale sinus tables, etc. with
  51. very high quality.
  52.  
  53. In practic
  54. ¯¯¯¯¯¯¯¯¯¯
  55. -That sounds nice but what does it all mean?
  56.  
  57. Well, f.ex. that you can resample finetune without any hearable quality
  58. loss (Unlike X-Tracker, OctaMED X, AudioMaster X, etc.). You can also
  59. downsample with insane rates as 1:4 or below without jitter (with
  60. reservations for the 8-bit format itself) or a totall loss of treble (no
  61. digital filters).
  62.  
  63. Quality loss
  64. ¯¯¯¯¯¯¯¯¯¯¯¯
  65. If you have resampled chords in protracker (or whatever) you know that it
  66. sound crappy. What most people don't know is why:
  67.  
  68. With probably no exceptions the sample editors/converters and composer
  69. programs of today all use the classic integer-based skip/duplicate or
  70. skip/mix resample methods. The quality loss that these produce is very high
  71. due to the fact that the quantization timing error increase drasticly.
  72. Or in laymans terms: it produces transient noise and static tuning errors.
  73.  
  74. About the programmer
  75. ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
  76. I (Björn Östberg) created the Rescale utility as an exersize learning
  77. ANSII-C. Have no fear -An experienced programmer and friend of mine (Fredrik
  78. Rambris) had a peek at the source before I released it and he had no
  79. objections whatsoever. He also helped me out with the AmigaOS filehandling
  80. (since ANSII-C filehandling sucks!) and memory allocation using Exec. The
  81. rescaling rutine is small enough to be rather harmless so that rules out
  82. most error sources. I also have extencive experience with the programming
  83. language Basic aswell so I'm no real freshman programmer.
  84.  
  85. In the near future (before Y2K -hopefully):
  86.  
  87. ·IFF 8SVX support   -Have to hunt some specs.
  88. ·AIFF support       -Within months
  89. ·AIFF-C support     -Same here. Hate Apple for not releasing (de)compression
  90.                      code -not everybody can use Soundmanager you know.
  91. ·Wav/RIFF support   -Within months
  92. ·Boopsi GUI         -Have to learn some more...
  93.  
  94. ·Multichannel support    -Stereo within months, multi Y2K or never.
  95. ·8/16/24/32-bit support  -Within months
  96.  
  97. History:
  98.  
  99. v1.11 99-05-05 (Current) First release. Small bugfix: Minor UI errors...
  100.    Major Aminet upload problems due to lack of initiative =)
  101.  
  102. v1.1 99-04-09 Bugfix: Fixed a defect statement
  103.    causing the help text to be typed no matter if the user syntax was
  104.    correct or not. Fixed minor bugs; some spell errors, etc. Wrote ReadMe
  105.    files, compressed AmiNet LHA Archive, and such. The utility was created
  106.    and converted within six days.
  107.  
  108. v1.0ß 99-04-08   Added the help text to the main.
  109.  
  110. v0.9 99-04-08   Completed Basic convertion. Got some help with AmigaOS
  111.    filehandling & arguments parsing, aswell as memory allocation using Exec.
  112.  
  113. v0.8 99-04-07   Did most Basic convertion, compiles just fine -the program
  114.    doesn't do anything usefull yet though.
  115.  
  116. v0.7 99-04-05   Re-arranged the scaling routine written in Basic to a
  117.    procedure, added requesters and simple error handling.
  118.  
  119. v0.6 99-04-03   Wrote a scaling routine in Basic within 10 minutes. Was in a
  120.    state of shock the rest of the day since the routine worked at the first
  121.    try (almost) and only produced a guru once ;-)
  122.  
  123. For those of you with CD-R:
  124.  
  125. I'm also working on an ultra qualitative Protracker mod-to-sample music
  126. rendering program -using this very scaling routine and other cool stuff.
  127. Much can be done to improve the quality of non-realtime protracker
  128. rendering. Floatingpoint everywhere (almost). Floatingpoint volume slide
  129. routines -updates the amplitude for every single sample, etc. I'm a reverb
  130. nut so I think I'll just throw in my reverb routine aswell (4-256 channels
  131. highly qualitative reverb). Natually I will support AIFF, AIFF-C, WAV &
  132. RAW signed/unsigned 8/16/24/32-bit - aswell as a stereo surround audiomode
  133. (reverb). Note: This one is still vaporware.
  134.  
  135. For musicians and nirds:
  136.  
  137. Ontop of the previus I'm co-working on a sample editor/creator/sampler/
  138. mixer/ etc. program called Soundfactory®. REAL cool stuff. Advanced
  139. synthetics, advanced reverb, digital equalizer, advanced proffesional
  140. editing tools, professional multichannel editing and mixing, direct HDD edit
  141. with disk cache, HDD recording through AHI, maybe even a full tracker
  142. composer, all within a single program. Really advanced programming style:
  143. main executable is hosting external processing/gui/functionallity modules.
  144. Fault tolerant design, etc.
  145. On what platform? AmigaOS!
  146. When? Our goal is before Y2K, but we will probably break that deadline.
  147. This one is NOT vaporware - development in progress...
  148.  
  149. Björn Östberg <JetRacer@Hem.Passagen.se>
  150. SpEEd Productions Site: http://www.Amiga.nu  -Soundfactory® Development News
  151.